package com.drg.center.entity.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guaike.core.entity.param.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@ApiModel("患者就医成本分析入参DTO")
public class PatientAccessCostsAnalysisDTO extends Page {
    @ApiModelProperty("科室编码")
    private String departCode;

    @ApiModelProperty("结算开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate settleStartDate;

    @ApiModelProperty("结算结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate settleEndDate;

    @ApiModelProperty("排序字段（1：科室，2：医保报销金额，3：自付金额）")
    private Integer sortType;
}
